<p id="title"><?php  echo $this->title; ?>  </p>
<form method="POST" name="boo">
<?php
$action = 'insert';
if (isset ( $this->objectData )) {
	$action = 'update';
}
?>
<input type="hidden" name="actiontype" value="<?php echo $action;?>" />
	<input type="hidden" name="Company_id" id="Company_id"
		value="<?php echo $this->bind('id')?>">
	<div class="elem">
		<label for="company_name"> Name : </label> <input type="text"
			name="Company_name" id="company_name"
			value="<?php echo $this->bind('name')?>">
	</div>
	<div class="elem">
		<label for="company_address"> Address : </label> <input type="text"
			name="Company_address" id="company_address"
			value="<?php echo $this->bind('address')?>">
	</div>
	<div class="elem">
		<label for="company_numberphone"> Numberphone : </label> <input
			type="text" name="Company_numberphone" id="company_numberphone"
			value="<?php echo $this->bind('numberphone')?>">
	</div>
	<div class="elem">
		<label for="company_email"> Email : </label> <input type="text"
			name="Company_email" id="company_email"
			value="<?php echo $this->bind('email')?>">
	</div>
	<?php if($action=='insert')
		echo '<input type="hidden" name="Company_status" id="company_status" value="1">';
	?>
	<button type="submit" onclick="document.boo.submit()" style="display: none;">Save</button>
</form>
